const mongoose = require('mongoose');

const User = new mongoose.Schema({
  id: String,
  name: String,
  sex: String,
  birthday: String,
  email: String,
  phone: String,
  wxhao: String,
  linePhone: String,
  workNumber: String,
  origin: String,
  schoolEnd: String,
  endTime: String,
  degree: String,
  grade: Array,
  yan: String,
});

const user = mongoose.model('user', User);

module.exports = {
  user,
};
